package com.client.mikocompose.ui.modules.home

/**
 * @Description:
 * @Author: 吴祖清
 * @CreateDate: 12.2.22 5:26 下午
 */

enum class HomeStyle{
    ONE_GAME,
    TWO_GAME,
    BANNER,
    RANK,
    TITLE
}

data class HomeModel(var style: HomeStyle, var data: Any? = null)

class GameInfo {
    var gameId: Int = 0
    var gameName: String? = null
    var gameIcon: String? = null
    var resourceUrl: String? = null
}

class OneGameModel {
    var gameInfo: GameInfo? = null
    var playNum: Int = 0
}

class TwoGameModel {
    var list: List<OneGameModel>? = null
}

class RankModel {
    var title: String = ""
    var itemList: List<RankItemModel>? = null
}


class UserInfo {
    var userId: String = ""
    var nickname: String = ""
    var gender: Int = 0
    var icon: String = ""
}

class RankItemModel {
    var frame: String = ""
    var backgroundUrl: String = ""
    var gameInfo: GameInfo? = null
    var winUser: UserInfo? = null
}


class TitleModel{
    var title:String = ""
    var link:String = ""
    var showArrow = true
}

class BannerModel {
    var id: Int = 0
    var imageUrl: String = ""
    var role: String = ""
}